package cn.hnkjxy.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
//
import cn.hnkjxy.po.User;

public interface UserDao {
	public User findUser(@Param("username") String username, @Param("password") String password);
	public Integer reviceUser(User user);
	public User findUserById(Integer usid);
	public int addUser(@Param("username") String username, @Param("password") String password,@Param("usertel") String usertel, @Param("gender") String gender, @Param("role") String role);
	public List<User> findAllUser();
	public Integer deleteUser(Integer usid);
	public List<User> findUserByCondition(User user);
	public Integer addUser2(User user);
	public Integer findUserNameById(String username);
	public User findPassword(Integer usid);
}
